import React, { Component } from 'react';
import AssetItem from './AssetItem';

export default class AssetItems extends Component {
  constructor(props) {
    super(props);
  }

  render() {
    console.log(this.state);
    return (
      <div className="assets">
        {
          this.props.entities.map( entity => <AssetItem entity={entity} key={entity._id} />)
        }
      </div>
    )
  }
}
